package com.py.framework.entity;

import com.py.framework.core.entity.BaseEntity;

/**
 * 系统日志实体
 * @author Leegern
 * @date   2018年4月22日
 */
public class LogEntity extends BaseEntity {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -2193421169460512882L;
	/** 用户名 **/
	private String username;
	/** 真实姓名 **/
	private String realName;
	/** 请求IP **/
	private String requestIp;
	/** 请求描述 **/
	private String requestDesc;
	/** 请求资源URL **/
	private String requestUrl;
	/** 请求内容 **/
	private String requestContent;
	/** 系统名称 **/
	private String sysName;
	/** 请求资源URL(去除根路径) **/
	private String shortRequestUrl;
	/** 日志类型：1：系统日志，2：登录日志 ,3:登出日志**/
	private int logType;
	
	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * @return the realName
	 */
	public String getRealName() {
		return realName;
	}
	/**
	 * @param realName the realName to set
	 */
	public void setRealName(String realName) {
		this.realName = realName;
	}
	/**
	 * @return the requestIp
	 */
	public String getRequestIp() {
		return requestIp;
	}
	/**
	 * @param requestIp the requestIp to set
	 */
	public void setRequestIp(String requestIp) {
		this.requestIp = requestIp;
	}
	/**
	 * @return the requestDesc
	 */
	public String getRequestDesc() {
		return requestDesc;
	}
	/**
	 * @param requestDesc the requestDesc to set
	 */
	public void setRequestDesc(String requestDesc) {
		this.requestDesc = requestDesc;
	}
	/**
	 * @return the requestUrl
	 */
	public String getRequestUrl() {
		return requestUrl;
	}
	/**
	 * @param requestUrl the requestUrl to set
	 */
	public void setRequestUrl(String requestUrl) {
		this.requestUrl = requestUrl;
	}
	/**
	 * @return the requestContent
	 */
	public String getRequestContent() {
		return requestContent;
	}
	/**
	 * @param requestContent the requestContent to set
	 */
	public void setRequestContent(String requestContent) {
		this.requestContent = requestContent;
	}
	/**
	 * @return the sysName
	 */
	public String getSysName() {
		return sysName;
	}
	/**
	 * @param sysName the sysName to set
	 */
	public void setSysName(String sysName) {
		this.sysName = sysName;
	}
	/**
	 * @return the shortRequestUrl
	 */
	public String getShortRequestUrl() {
		return shortRequestUrl;
	}
	/**
	 * @param shortRequestUrl the shortRequestUrl to set
	 */
	public void setShortRequestUrl(String shortRequestUrl) {
		this.shortRequestUrl = shortRequestUrl;
	}
	/**
	 * @return the logType
	 */
	public int getLogType() {
		return logType;
	}
	/**
	 * @param logType the logType to set
	 */
	public void setLogType(int logType) {
		this.logType = logType;
	}
}